Redesign redisplay interface to drop updated_row and updated_area.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 23 Aug 2013 03:03:37 +0000 (07:03 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 23 Aug 2013 03:03:37 +0000 (07:03 +0400)
commit07babe049c03e1924aa4051cd29bb3941f7f8b26
tree6a47affa7b42a2849345815cc77b5a7624667961
parent06e83a34f1c2f247912de2425ba96746c53fb44f
Redesign redisplay interface to drop updated_row and updated_area.
* dispextern.h (updated_row, updated_area): Remove declaration.
(struct redisplay_interface): Pass glyph row and row area parameters
to write_glyphs, insert_glyphs and clear_end_of_line functions.
(x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
Adjust prototypes.
* dispnew.c (updated_row, updated_area): Remove.
(redraw_overlapped_rows, update_window_line): Adjust user.
(update_marginal_area, update_text_area): Likewise.  Pass updated row
as a parameter.  Prefer enum glyph_row_area to int where appropriate.
* xdisp.c (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
Adjust users.
src/ChangeLog
src/dispextern.h
src/dispnew.c
src/xdisp.c